<div ng-controller="CustomCtrl">
    <tabs>
        <ul class="tab">
            <li><a href="#subtabs_01">用户组</a></li>
            <li><a href="#subtabs_02">小区组</a></li>
            <li><a href="#subtabs_03">终端组</a></li>
        </ul>
        <div>
            <div id="subtabs_01">
                <div>
                    <div class="selectfrom">
                        <span class="rqs1">群组名称：</span>
                        <input id="groupName" type="text" />
                        <input class="rqbtn" type="button" ng-click="query1()" value="查询" />
                    </div>
                    <div class="webpart">
                        <div class="wp_top">
                            <span class='x18icon table'></span>
                            <span>表格</span>
                            <input class="rqbtn dcsj" type="button" ng-click="showuser()" value="新增" />
                            <input class="rqbtn dcsj" type="button" ng-click="downloadPhoneModel()" value="模板下载" />
                            <!--<input class="dcsj" type="button" ng-click="exportData()" value="导出数据" />-->
                            <artdialog option="addGroup1" class="artdialog">
                                <div class="newpopup">
                                    <form enctype="multipart/form-data" id="userGroupForm">
                                        <span>群组名称：</span>
                                        <input name="userGroupName" id="userGroupName" />
                                        <br/>
                                        <input type="file" name="userGroupFile" id="userGroupFile"  />
                                        <br/>
                                        <p class="cred">注：上传excel文件</p>
                                        <!--<button class="btnalign">上传</button>-->
                                        <br/>
                                        <span>描述：</span>
                                        <textarea class="area" name="userGroupDes" id="userGroupDes"></textarea>
                                    </form>
                                </div>
                            </artdialog>
                            <artdialog option="editUserGroup" class="artdialog">
                                <div class="newpopup">
                                    <form  id="edituserGroupForm">
                                        <input type="hidden" name="userGroupId" id="userGroupId1">
                                        <span>群组名称：</span>
                                        <input name="userGroupName1" id="userGroupName1" />
                                        <br/>
                                        <span>描述：</span>
                                        <textarea class="area" name="userGroupDes1" id="userGroupDes1"></textarea>
                                    </form>
                                </div>
                            </artdialog>
                        </div>
                        <div class="wp_main table">
                            <jqgrid options="grid1"></jqgrid>
                        </div>
                        <div class="wp_foot">
                            <sortpage sortpagedata="grid1.gridpagedata"></sortpage>
                        </div>
                    </div>
                </div>
            </div>
            <div id="subtabs_02">
                <div>
                    <div class="selectfrom">
                        群组名：<input id="community_group_name" />
                        <input class="rqbtn" type="button" ng-click="queryComm()" value="查询" />
                    </div>
                    <div class="webpart">
                        <div class="wp_top">
                            <span class='x18icon table'></span>
                            <span>表格</span>
                            <input class="rqbtn dcsj" type="button" ng-click="addCommGroup()" value="新增" />
                            <input class="dcsj" type="button" ng-click="commExcelModel()" value="模板下载" />
                            <artdialog option="addGroup2" class="artdialog">
                                <div class="newpopup">
                                    <form enctype="multipart/form-data" id="commGroupForm">
                                        <input name="community_group_id" id="community_group_id" type="hidden"/>
                                        <span style="width:156px" id="commErrorinfo"></span><br>
                                        <span>群组名称：</span>
                                        <input name="commGroupName" id="commGroupName" />
                                        <br/>
                                        <input type="file" name="commGroupUpload" id="commGroupUpload" title="上次.xls文件"/>
                                        <!--<button class="btnalign">上传</button>-->
                                        <br/>
                                        <span>网络类型：</span>
                                        <select  name="net_type" id="net_type">
                                            <option>2G</option>
                                            <option>3G</option>
                                            <option>4G</option>
                                        </select>
                                        <br/><br/>
                                        <span>描述：</span>
                                        <textarea class="area" name="commGroupDes" id="commGroupDes"></textarea>
                                    </form>
                                </div>
                            </artdialog>
                        </div>
                        <div class="wp_main table">
                            <jqgrid options="grid2"></jqgrid>
                        </div>
                        <div class="wp_foot">
                            <sortpage sortpagedata="grid2.gridpagedata"></sortpage>
                        </div>
                    </div>
                </div>
            </div>
            <div id="subtabs_03">
                <div>
                    <div class="selectfrom">
                        群组名：<input id="terminal_group_name"/>
                        <input class="rqbtn" type="button" ng-click="queryTer()" value="查询" />
                    </div>
                    <div class="webpart">
                        <div class="wp_top">
                            <span class='x18icon table'></span>
                            <span>表格</span>
                            <input class="rqbtn dcsj" type="button" ng-click="addTerGroup()" value="新增" />
                            <input class="dcsj" type="button" ng-click="terExcelModel()" value="模板下载" />
                            <artdialog option="addGroup3" class="artdialog">
                                <div class="newpopup">
                                    <form enctype="multipart/form-data" id="terGroupForm">
                                        <input name="terminal_group_id" id="terminal_group_id" type="hidden"/>
                                        <span style="width:156px;margin: 0 auto;" id="terErrorinfo"></span><br>
                                        <span>群组名称：</span>
                                        <input name="terGroupName" id="terGroupName" />
                                        <br/>
                                        <input type="file" name="terGroupUpload" id="terGroupUpload" title="上次.xls文件"/>
                                        <!--<button class="btnalign">上传</button>-->
                                        <br/>
                                        <span>描述：</span>
                                        <textarea class="area" name="terGroupDes" id="terGroupDes"></textarea>
                                    </form>
                                </div>
                            </artdialog>
                        </div>
                        <div class="wp_main table">
                            <jqgrid options="grid3"></jqgrid>
                        </div>
                        <div class="wp_foot">
                            <sortpage sortpagedata="grid3.gridpagedata"></sortpage>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </tabs>
</div>